//
//  CWCDataModel.m
//  ChuanNews
//
//  Created by dllo on 16/4/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CWCDataModel.h"
#import "BaseHeader.h"
@implementation CWCDataModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
-(void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"photosetID"]) {
        
        if ([value length]>10) {
            value = [value stringByReplacingOccurrencesOfString:@"|" withString:@"/"];
            value = [value substringFromIndex:4];
        }
        
        self.photosetID = value;
    }
}



@end
